/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package model;

/**
 *
 * @author Nhang Con
 */
public class CarBookingDetail {
private CarBooking carbookings;
private String name;
private String carname;

    public CarBookingDetail(CarBooking carbookings, String name, String carname) {
        this.carbookings = carbookings;
        this.name = name;
        this.carname = carname;
    }

    public String getCarname() {
        return carname;
    }

    public void setCarname(String carname) {
        this.carname = carname;
    }


    public CarBookingDetail() {
    }

    public CarBooking getCarbookings() {
        return carbookings;
    }

    public void setCarbookings(CarBooking carbookings) {
        this.carbookings = carbookings;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public CarBookingDetail(CarBooking carbookings, String name) {
        this.carbookings = carbookings;
        this.name = name;
    }

}
